<html>
  <head>
    <meta name="viewport" content="width=device-width, minimum-scale=1.0">
    <script>
      let did_scroll = false;
      window.addEventListener('scroll', () => {
        did_scroll = true;
      });
    </script>
    <style>
      p {
        position: absolute;
        left: 10000px;
        top: 10000px;
      }
    </style>
  </head>
  <body>
    <a id="link" href="#text">Go Down</a>
    <p id="text">Some text</p>
  </body>
</html>
